<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>餐饮采购</title>
    <link rel="stylesheet" href="css/common.css" />
    <link rel="stylesheet" href="css/header.css" />
    <link rel="stylesheet" href="css/goodsList.css" />
	<link rel="stylesheet" href="css/mycar.css" />
	<link rel="stylesheet" href="windowscss/style.css">
    <link rel="stylesheet" href="windowscss/reset.css">
    <script type="text/javascript" src="windowsjs/jquery.min.js"></script>
</head>
<body>
    <header>
        <div id="head-top">
            <nav class="clearfix">
                 <div class="location">
       <span>地区 ： </span>
<select id="province" name="province" >
    <option value="">--请选择省份--</option>
    <option value="北京">北京</option>
    <option value="天津">天津</option>
    <option value="河北省">河北省</option>
    <option value="山西省">山西省</option>
    <option value="内蒙古自治区">内蒙古自治区</option>
    <option value="辽宁省">辽宁省</option>
    <option value="吉林省">吉林省</option>
    <option value="黑龙江省">黑龙江省</option>
    <option value="上海">上海</option>
    <option value="江苏省">江苏省</option>
    <option value="浙江省">浙江省</option>
    <option value="安徽省">安徽省</option>
    <option value="福建省">福建省</option>
    <option value="江西省">江西省</option>
    <option value="山东省">山东省</option>
    <option value="河南省">河南省</option>
    <option value="湖北省">湖北省</option>
    <option value="湖南省">湖南省</option>
    <option value="广东省">广东省</option>
    <option value="广西壮族自治区">广西壮族自治区</option>
    <option value="海南省">海南省</option>
    <option value="重庆">重庆</option>
    <option value="四川省">四川省</option>
    <option value="贵州省">贵州省</option>
    <option value="云南省">云南省</option>
    <option value="西藏自治区">西藏自治区</option>
    <option value="陕西省">陕西省</option>
    <option value="甘肃省">甘肃省</option>
    <option value="青海省">青海省</option>
    <option value="宁夏回族自治区">宁夏回族自治区</option>
    <option value="新疆维吾尔自治区">新疆维吾尔自治区</option>
    <option value="香港特别行政区">香港特别行政区</option>
    <option value="澳门特别行政区">澳门特别行政区</option>
    <option value="台湾省">台湾省</option>
    <option value="其它">其它</option>
</select>
<select id="city" name="city" >
    <option value="">--请选择城市--</option>
</select>
<select id="area" name="area">
    <option value="">--请选择地区--</option>
</select>
</div> 
				  
				  
				  
				  
                <ul class="right clearfix">
                    <li class="menu welcome">
                       <?php
						if(!empty($_SESSION['identity'])){
                       echo "<a href='index.php' class='link-login'>主页</a>";}
						
					else{
							echo "<a href='login.php' class='link-login'>你好，请登录</a>";
						}
						
						?>
                   
                    </li>
                    <li class="spacer">|</li>
                    <li class="menu red"><a href="myorder.html" style="color:#999">加入我们</a></li>
                    <li class="spacer">|</li>
                    <li class="menu red">
                    <?php
					if(!empty($_SESSION['identity'])){
                    echo "<a href='myorder.php'>我的订单&nbsp;∨</a>";}
					else{
						 "<a href='#'>我的订单&nbsp;∨</a>";
					}
                    ?>
                    </li>
                    <li class="spacer">|</li>
                    <li class="menu red">企业合作</li>
                    <li class="spacer">|</li>
                    <li class="menu qiye" ><a href="caigou.php">餐饮采购&nbsp;∨</a></li>
                    <li class="spacer">|</li>

                </ul>
            </nav>
        </div>
        <div class="w clearfix">
            <div id="logo">
                <a href="index.html"><img src="img/logo.png" ></a>
            </div>
            <div id="search">
                <!-- 搜索列表  已隐藏 -->
                <ul class="menu" id="shelper"></ul>
                <div class="form">
                    <input type="text" id="key" value="水果" class="text blurcolor">
                    <i class="fa fa-camera"></i>
                    <button>搜索</button>
                </div>
            </div>
            <div id="settleup" class="dropdown">
                <div class="cw-icon">
                    <i class="fa fa-shopping-cart car"></i>
                    <i class="i-count" id="count">0</i>
                    <a href="mycar.html">订单审核</a>
                </div>
                
            </div>
            
        </div>
    </header>
    <section>
        <div id="nav">
            <div class="w clearfix">
                <div id="categorys" style="height: auto; left: 0px; position: absolute;">
                    <div class="dt">
                        <a href="#">餐饮采购</a>
                    </div>
                    <div class="dd" style="display: none;"></div>										
                </div>
                <div id="navitems" class="clearfix">
                    <ul class="navitems-group1 clearfix">
                        <li><a href="#">企业合作</a></li>
                        <li><a href="#">人才入驻</a></li>
                        <li><a href="#">遇到问题？</a></li>
                    </ul>
  
                </div>
            </div>
        </div>
		        
        
		<div class="inf">
		<br><br>
		<h2>  餐饮采购  </h2> 
		
		<p style="font-size:12px">须知：当天配送具体时间请在最后的输入框里备注，提交订单至平台，等待平台调度配送</p><br>
		    <form action="caigoutest.php" method="post"  id="caigou" name="caigou">

                <input name="rname" placeholder="餐厅名称" type="text" required /> <br/>					
                <input name="radd" placeholder="餐厅地址" type="text" required /> <br/>
                <input name="boosname" placeholder="接收人姓名" type="text" required /><br/>
                <input name="boostel" placeholder="接收人电话" type="text" required /> <br/>				
				<input name="day" placeholder="配送日期" type="date" required /><br/>	  
				<textarea  placeholder="请以商品名（或编号）- 数量/规格 - 备注 格式" style="width:450px;
	             height:140px;border-radius: 8px;"  type="text"   name="goods"></textarea> <br/> 
                
          </form>
        
		      <input type="submit" value="提交至平台" class="submit" id="modalBtn"><br/> 
		 
		
		
	   
		<br><br><br><br><br>
		
		
		</div>
		
    </section>
    <div id="simpleModal" class="modal">
    <div class="modal-content">
        <div class="modal-header">
            <span class="closeBtn">&times;</span>
            <h2 style="color:#fff">集鲜蜂-餐饮采购须知</h2>
        </div>
        <div class="modal-body">
            <p style="font-size:10px;text-align:center;color:red;">集鲜蜂餐饮采购服务于各大中小餐馆</p>
         <center>   
		    <p>1.集鲜蜂餐饮采购由平台从各仓库市场统一调配</p>
			<p>2.集鲜蜂确保所配生鲜来自一线销售渠道</p>	
			<p>3.向平台发送订单后，在24h内，平台会给出反馈</p>
			<p>4.下订单后首先支付定金,定金为采购价的50%</p>
			<p>5.若平台没有按时发货或企业拒绝接受货物，违约一方将赔付定金的120%给予对方</p>
			<p>6.如出现缺货少货请联系客服</p>
			<p>7.如果有其他问题请联系集鲜蜂客服</p>
			<p>8.点击确认支付定金，点击拒绝返回</p> 
			
		</center>
        </div>
		<br>
        <div class="modal-footer">

            <h3><button type="submit"  οnclick="javascript:document.caigou.submit()" form="caigou">  接受 </button></h3>
			<h3><a href="caigou.php" style="text-decoration: none;color:#fff;"><button>拒绝</button></a></h3>
        </div>
    </div>
</div>
      
</body>
</html>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/velocity.min.js"></script>
<script src="js/myjs.js"></script>
<script src="js/goodsList.js"></script>
<script src="./js/location.js"></script>
	<script>
    new PCAS("province","city","area","","","");
    </script>
    
<script src="windowsjs/main.js"></script>
<script>
        $(function(){
                $("#ppp").click(function(){
                    $("#caigou").submit();
                });
            });
    </script>

